package com.example.pest.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 自习室预约表
 * @TableName xx_room_reservation
 */
@TableName(value ="xx_room_reservation")
@Data
public class XxRoomReservation implements Serializable {
    /**
     * 预约ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 自习室号
     */
    private Long roomId;

    /**
     * 开始预约时间
     */
    private String timeSpan;

    /**
     * 名额
     */
    private Integer zwCount;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 
     */
    private String dateKey;

    private int useCount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}